home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-07-15 | 769 b | 28 lines | [TEXT/ttxt] |
- kcapApp
-
- demonstration keyboard drawing from KCAP resource
- MPW C 3.2
-
- Greg Robbins
-
-
- The DrawKeyCaps function draws the key caps, given a set of
- modifiers (in the high byte of the modifier short parameter) and
- KCHR and KCAP resource IDs, using the current pen in
- the current GrafPort. If keyCodesFlag is true, the virtual keycodes
- for the KCAP are drawn (in 9 point) instead of the labels.
-
- version 1.0
- 12/91
-
- version 1.1
- 2/92: uses RGetResource rather than GetResource for KCAP
- (KCAP on the Portable and PB100 is in ROM); gets KCHR
- number from script manager
-
- version 1.2
- 2/92: adds menu of KCAPs available, draws keycodes instead according
- to a flag to DrawKeyCaps
-
- see KCAP resource type definition on p. 14-101 of IM VI
-